﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CreatDB
{
    public  class DBHelper
    {
        public SqlSugarScope Sqlserver { get; set; }

        public DBHelper()
        {
            Sqlserver = new SqlSugarScope(new ConnectionConfig()
            {
                DbType= DbType.SqlServer,
                ConnectionString="server=.;database=AssetManager;uid=sa;pwd=wxl123;",
                IsAutoCloseConnection= true,
            });
        }
    }
}
